I have had this error before. The reason the error was popping up was because I was trying to do a copy file1 to file2 and did not realize that file1 was included in my project. So the program was trying to copy a file that was included in my exe out to another sub - directory although I specified path + filename of the source file.