title: can't get copyfile to work
body: <p>i am just trying to use copyfile to copy a file, it is as simple as that but it wont work. i have googled it and looked at 20 links and they all say "<a href="http://msdn.microsoft.com/en-us/library/aa363851%28VS.85%29.aspx" rel="nofollow">object.CopyFile ( source, destination[, overwrite] ) "
  </a></p>
  
  <p>The problem is i can't get it to copy the txt file for me, i have tryed running it as an admin but still does not work. also i need to put the source and destination as
   lpctstr (because it wont compile with out using Multi-Byte Character and my other code will not work unless i Use Unicode Character Set).  </p>
  
  <p>My code is</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;Windows.h&gt;
  
  using namespace std;
  
  int main()
  {
  
   CopyFile("C:\\Somefolder\\file.txt","C:\\folder\\file.txt",0);
   return 0;
  }
  </code></pre>
  
  <p>i am running windows 7, vc++ 2010, compiling as debug, sorry if i missed anything.</p>