ΒΆstd::error_code copy_file(const llvm::Twine& From,
                          const llvm::Twine& To)

Description

Copy the contents of \a From to \a To.

Declared at: llvm/include/llvm/Support/FileSystem.h:418

Parameters

const llvm::Twine& From
The path to copy from.
const llvm::Twine& To
The path to copy to. This is created.