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