ensure that copy_file results in srcfile == dstfile, when dstfile pre-exists and is larger than srcfile