copy abstract method

Future<void> copy(
  1. String sourceKey,
  2. String destKey
)

Copy an object, including its metadata.

Local: filesystem-level copy. Encrypted: re-encrypts when the destination resolves to a different encryption key. Remote: server- side CopyObject. The metadata travels with the body.

Implementation

Future<void> copy(String sourceKey, String destKey);