Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
Include |
#include "GenericPlatform/GenericPlatformFile.h" |
Source |
/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformFile.cpp |
virtual bool CopyFile
(
const TCHAR * To,
const TCHAR * From,
EPlatformFileRead ReadFlags,
EPlatformFileWrite WriteFlags
)
Copy a file. This will fail if the destination file already exists.
true if the file was copied sucessfully.
Parameter |
Description |
---|---|
To |
File to copy to. |
From |
File to copy from. |
ReadFlags |
Source file read options. |
WriteFlags |
Destination file write options. |