You can do one thing , before copying the file just check if the file exist , if exist then delete the file and then copy the new file. This should solve your issue.
Check below link for deleting files How do I delete a file in my apps documents directory?
Delete specified file from document directory
Regards, Anil