… should probably use QFile::Rename instead as ::Copy is an operation on data if TEMP and OUTPUT is on the same drive (you end up literally copying data) whereas ::Rename is an operation on metadata (no data is duplicated) and when ::Rename fails, QT will end up doing a ::Copy instead in the background (cross-volume, for example).