Skip to content

format

typescript
Directory.Copy(src, dst)

class: Directory

description

Copy a folder to a specified path, including all files within it.

parameter

param_nametypedescription
srcstringThe source folder path.
dststringThe destination path.

return

typedescription
booleanWhether the operation was successful.

code example