Make a copy of the file.