I\'m using this method to copy a file:
[fileManager copyItemAtPath:sourcePath toPath:targetPath error:&error];
I want to overwrite a fi
I think the possibility of the nanosecond you mensioned is feeble. so stick to the first method of removing the existing file and copying the new file.