Your program should check for the existence of the file first. If it's found, check it out, and then use System.IO.File.Copy() to overwrite the existing file.
Sorry for being late but i was facing a problem with my laptop
i will test your solution and feed you back
but anyway sound like logical solution
Working as rocket.