Function copy

  • Copies files or directories from paths to destination. Treats destination as a folder unless options.single is true.

    Parameters

    • paths: string | string[]
    • destination: string
    • Optionaloptions: CopyOptions

    Returns Async

    Task