Next two strings of Qt C++ code do the same stuff and without any problems to me.
QFile(source).copy(destination);
QFile::copy(source, destination);
The question is about performance of first and second. Does code of Qt optimised inside static method and doesn't it create two objects? Which one is better and etc.