@Andy It is a very simple console application. The features it has right now is that it can create text files, view them, and write to them. So, basically it is a text editor, but I am planning to add to it. The feature I am wanting to add to it right now is for it to be able to copy the text file and put it in a new directory.
The fact that you used the term copy and paste made be focus on the GUI side of things. Does your app also list the text files in a folder? In a folder tree? How does the user perform the "copy and paste"?
Once you know where the user wants the file, if you're working with Windows you can just use CopyFile.
In the POSIX case, it appears you need to code your own copy?
Or you could use Boost.Filesystem's copy_file function (this uses CopyFile on Windows and does its own thing in the POSIX case.)