• Copies a file.

    Parameters

    • from: string

      Path to the directory or file to be copied.

    • to: string

      Destination path.

    Returns Promise<void>