Copying file to another directory does not work
<p>I got the following code from a website which copies a file to another, it compiles and run, but the content of the output file does not change.
Can somebody point out where is the problem?
Im using dev c++ IDE (<strong>edit</strong>: probably with mingw). </p>

<pre><code> #include &lt;fstream&gt;
#include &lt;string&gt;
#include &lt;stdio.h&gt;
#include &lt;iostream&gt;
#include &lt;iomanip&gt;
#include &lt;windows.h&gt;

using namespace std;

int main(){

    CopyFile("C:\\Users\\KEVIN\\Documents\\c++\\t.txt","C:\\Users\\KEVIN\\Documents\\c++\\output.txt",false);
system("pause");
return 0;   
}
</code></pre>
