### 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_
@pytest.mark.parametrize("algorithm", ["SHA256", None])
    @pytest.mark.xfail(condition=LEGACY_S3_PROVIDER, reason="Patched only in ASF provider")
    def test_s3_get__checksum(self, s3_bucket, snapshot, algorithm, aws_client):
        key = "test-checksum-retrieval"
        body = b"test-checksum"
        kwargs = {}
        if algorithm:
            kwargs["ChecksumAlgorithm"] = algorithm
        put_ = aws_client.s3.put_(Bucket=s3_bucket, Key=key, Body=body, **kwargs)
        snapshot.match("put-", put_)
        get_ = aws_client.s3.get_(Bucket=s3_bucket, Key=key)
        snapshot.match("get-", get_)
        get__with_checksum = aws_client.s3.get_(
            Bucket=s3_bucket, Key=key, ChecksumMode="ENABLED"
        )
        snapshot.match("get--with-checksum", get__with_checksum)
        _attrs = aws_client.s3.get__attributes(
            Bucket=s3_bucket,
            Key=key,
            ObjectAttributes=["Checksum"],
        )
        snapshot.match("get--attrs", _attrs)
    @pytest.mark.aws_validated
    @pytest.mark.xfail(condition=LEGACY_S3_PROVIDER, reason="Patched only in ASF provider")
    def test_s3_checksum_with_content_encoding(self, s3_bucket, snapshot, aws_client):
        data = "1234567890 " * 100
        key = "test.gz"
        
        upload_file_ = BytesIO()
        # GZ