[PATCH v3 3/3] create CopyFile2_impl that uses SetLastError error handling