pub async fn copy_file<'a, C, E>(
auth: &mut Authorization<C>,
file: CopyFile<'_>,
) -> Result<File, Error<E>>Expand description
Copy an existing file to a new file, possibly on a different bucket.
The new file must be less than 5 GB. Use copy_file_part to copy larger files.
If copying from one bucket to another, both buckets must belong to the same account.