Skip to content

copy

copy(src: string, dst: string): Promise<string>

Defined in: packages/pythonlib/src/shutil.node.ts:37

Copy the file src to the file or directory dst.

Parameters

ParameterTypeDescription
srcstringSource file path
dststringDestination file or directory path

Returns

Promise<string>

The path to the newly created file