### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

In localstack, copying an s3 object in place and requesting a checksum causes an error

An error occurred (InvalidRequest) when calling the CopyObject operation: This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes.

### Expected Behavior

AWS s3 allows you to copy the object in place and request a checksum.

aws s3api put-object --bucket my-test-bucket --key go.mod --body .\go.mod
{
    "ETag": "\"f65b3f9b21e0c27be3c60df9c1cd87db\"",
    "ServerSideEncryption": "AES256"
}

aws s3api copy-object --copy-source my-test-bucket/go.mod --bucket my-test-bucket --key go.mod --storage-class STANDARD --checksum-algorithm SHA256
{
    "ServerSideEncryption": "AES256",
    "CopyObjectResult": {
        "ETag": "\"f65b3f9b21e0c27be3c60df9c1cd87db\"",
        "LastModified": "2023-04-19T17:09:16+00:00",
        "ChecksumSHA256": "nAPE7pxlr5L1D67nDJa1rwvmU3fKD2SuaUzeyhSR9Vc="
    }
}

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

docker compose up -d

awslocal s3api create-bucket --bucket my-test-bucket

awslocal s3api put-object --bucket my-test-bucket --key go.mod --body .\go.mod

awslocal s3api copy-object --copy-source my-test-bucket/go.mod --bucket my-test-bucket --key go.mod --storage-class STANDARD --checksum-algorithm SHA256


### Environment

```markdown
- OS: Windows 11
- LocalStack: pro latest
```


### Anything else?

_No response_
)
        snapshot.match("put-obj-default-kms-s3-key-bucket-2", response)
        response = aws_client.s3.get_(Bucket=bucket_2, Key=key_name)
        snapshot.match("get-obj-default-kms-s3-key-bucket-2", response)
        response = aws_client.s3.put_bucket_encryption(
            Bucket=bucket_1,
            ServerSideEncryptionConfiguration={
                "Rules": [
                    {
                        "ApplyServerSideEncryptionByDefault": {
                            "SSEAlgorithm": "aws:kms",
                        },
                        "BucketKeyEnabled": True,
                    }
                ]
            },
        )
        snapshot.match("put-bucket-encryption-default-kms-s3-key", response)
        response = aws_client.s3.get_bucket_encryption(Bucket=bucket_1)
        snapshot.match("get-bucket-encryption-default-kms-s3-key", response)
        key_name = "test-sse-default-key-from-bucket"
        response = aws_client.s3.put_(
            Bucket=bucket_1, Key=key_name, Body=data, ServerSideEncryption="aws:kms"
        )
        snapshot.match("put-obj-default-kms-s3-key-from-bucket", response)
        response = aws_client.s3.get_(Bucket=bucket_1, Key=key_name)
        snapshot.match("get-obj-default-kms-s3-key-from-bucket", response)
class TestS3TerraformRawRequests:
    @pytest.mark.only_localstack
    def test_terraform_request_sequence(self, aws_client):