Fixed compiling under VS2010 (File Copying)