permissions in CopyFile