As discussed on Discord, the CopyObjectRequest case class doesn't have the sourceBucket and sourceKey fields.
Current workaround for anyone with the same issue is to wrap around the Java class:
import software.amazon.awssdk.services.s3.model.CopyObjectRequest as JCopyObjectRequest
import zio.aws.s3.model.*
val req =
CopyObjectRequest.wrap(
JCopyObjectRequest
.builder()
.sourceBucket("foo")
.sourceKey("bar")
// And so on
.build()
).asEditable