diff --git a/AwsS3V3Adapter.php b/AwsS3V3Adapter.php index 4c0de07..593784a 100644 --- a/AwsS3V3Adapter.php +++ b/AwsS3V3Adapter.php @@ -438,7 +438,7 @@ public function copy(string $source, string $destination, Config $config): void $this->bucket, $this->prefixer->prefixPath($destination), $this->visibility->visibilityToAcl($visibility ?: 'private'), - $this->createOptionsFromConfig($config) + $this->createOptionsFromConfig($config)['params'] ); } catch (Throwable $exception) { throw UnableToCopyFile::fromLocationTo($source, $destination, $exception);