Improved file copy.