SimUtil FileSystem FileCopy

From SIMboxWiki
Jump to navigation Jump to search



Icon attributes.pngstatic bool SimUtil::FileSystem::FileCopy(const std::wstring &i_SourcePath, const std::wstring &i_TargetPath, bool i_Overwrite)

    Description

    Copies a file to a target directory.

    Parameters

    i_SourcePath - The path to the file that should be copied.
    i_TargetPath - The target path where the file should be copied to.
    i_Overwrite - True, if the operation should replace existing file in the target path; otherwise, false.

    Return

    Type: bool   Description: True, if the operation succeeded; otherwise, false.
    See Also

     CopyDirectory