Utility for copying a file.