CeCopyFile (rapi)
Last changed: -92.55.109.241

.
Summary
This function copies an existing file to a new file.

C# Signature:

[DllImport("rapi.dll", CharSet=CharSet.Unicode)]
public static extern bool CeCopyFile(
    string lpFromPathName,
    string lpToPathName,
    bool bFailIfExists);

User-Defined Types:

None.

Notes:

function info on msdn at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceactsy/html/cerefCeCopyFileRAPI.asp

Tips & Tricks:

Please add some!

Sample Code:

CeCopyFile("\\test.txt", "\\test2.txt", false);

Alternative Managed API:

Documentation
CeCopyFile on MSDN