If you can get a Process Monitor log of the problem occurring, and tell us the name and path of the source/destination files, we can use that to try and work out why it's failing.
The type(s) of files involved may also play a part, particular with antivirus scanners that can do strange things when a newly written file handle is closed and they then scan the file.