CONTENT-1756 - refactored CopyFile in the Standard and Secure Folder Provider