title: c++ CopyFile function problem
body: <p>Hey guys i need to use CopyFile in win 2000 and above platforms.
  i want to copy my application to a different folder say c:.</p>
  
  <p>so this works:</p>
  
  <pre><code>BOOL didThisFail = FALSE;
  
      if (CopyFile(L"MyApplication.exe", L"something.exe", didThisFail))
          cout &lt;&lt; "File was copied" &lt;&lt; endl; 
  </code></pre>
  
  <p>but this dosen't:</p>
  
  <pre><code>BOOL didThisFail = FALSE;
  
      if (CopyFile(L"MyApplication.exe", L"C:\\something.exe", didThisFail))
          cout &lt;&lt; "File was copied" &lt;&lt; endl;
  </code></pre>