I am trying to copy a file from one location to another( in a device) using C++/Qt
I tried QFile::copy("path1/file","path2");
I want to copy the file in path1 to path2. path2 does not have the file.
I just want to know if this is the right way because the above code does not seem to work.
Also, should I do a file open before I try to copy? Need help!