Improve file copying.