• Copy an object from a source object to a new object within the same bucket. Can optionally copy files across different level or identityId (if source object's level is 'protected').

    Parameters

    Returns Promise<CopyOutput>

    Output containing the destination key.

    Throws

    service: S3Exception - Thrown when checking for existence of the object

    Throws

    validation: StorageValidationErrorCode - Thrown when source or destination key are not defined.