Change copyFile to moveFile