FManagedStoragePlatformFile::CopyFile

Copy a file. This will fail if the destination file already exists.

Windows
MacOS
Linux

Override Hierarchy

IPlatformFile::CopyFile()

FManagedStoragePlatformFile::CopyFile()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/IPlatformFileManagedStorageWrapper.h

Include

#include "HAL/IPlatformFileManagedStorageWrapper.h"

Syntax

virtual bool CopyFile
(
    const TCHAR * To,
    const TCHAR * From,
    EPlatformFileRead ReadFlags,
    EPlatformFileWrite WriteFlags
)

Remarks

Copy a file. This will fail if the destination file already exists.

Returns

true if the file was copied sucessfully.

Parameters

Parameter

Description

To

File to copy to.

From

File to copy from.

ReadFlags

Source file read options.

WriteFlags

Destination file write options.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss