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/en-us/library/aa921214.aspx

Tips & Tricks:

Please add some!

Sample Code:

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

Alternative Managed API:

Documentation
CeCopyFile on MSDN