Navigation
API > API/Runtime > API/Runtime/PakFile > API/Runtime/PakFile/FPakPlatformFile
- IPlatformFile::CopyFile()
- FPakPlatformFile::CopyFile()
References
| Module | PakFile |
| Header | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include | #include "IPlatformFilePak.h" |
| Source | /Engine/Source/Runtime/PakFile/Private/IPlatformFilePak.cpp |
virtual bool CopyFile
&40;
const TCHAR &42; To,
const TCHAR &42; From,
EPlatformFileRead ReadFlags,
EPlatformFileWrite WriteFlags
&41;
Remarks
Copy a file. This will fail if the destination file already exists. true if the file was copied sucessfully.
Parameters
| Name | Description |
|---|---|
| To | File to copy to. |
| From | File to copy from. |
| ReadFlags | Source file read options. |
| WriteFlags | Destination file write options. |