Oh right. The best solution would be to check if the file exists before doing the copy (line 726).