Hi, Im trying to write a program that will simply copy a text file from one folder located on my C drive, to another, however, the CopyFile() function does not copy the file, and after tracing the error with GetLastError, I get a "Can not copy file" error. I have tried altering my directory by using double backslashes, however, it does not seem to work either. Here is my code:

#include <iostream>
using namespace std;
#include <windows.h>

int main()
{
if ( CopyFile( (LPCWSTR("c:\Documents and Settings\User\Desktop\bla\Doc1.txt")),
(LPCWSTR("c:\Documents and Settings\User\Desktop\bla2\Doc1.txt")),
0) )
{

}
else
{
cout << "Could not copy file";
cout << GetLastError();
}

system("pause");
return 0;
}

Any help is appreciated. Thanks!