In the QFile::copy documentation it says
If a file with the name newName already exists, copy() returns false (i.e., QFile will not overwrite it). <
If a file with the name newName already exists, copy() returns false (i.e., QFile will not overwrite it).