Fixed copyFile().