updated copyFile test