Merge pull request #10810 from OatmealDome/fileutil-copy-mac-updater FileUtil: Only attempt to write to the destination in Copy if there is actually content to write