fix copy over bug if the destination file is present