### 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_
# ha
        mtime = 1676569620
        with gzip.GzipFile(fileobj=upload_file_, mode="w", mtime=mtime) as filestream:
            filestream.write(data.encode("utf-8"))
        response = aws_client.s3.put_(
            Bucket=s3_bucket,
            Key=key,
            ContentEncoding="gzip",
            Body=upload_file_.getvalue(),
            ChecksumAlgorithm="SHA256",
        )
        snapshot.match("put-", response)
        get_ = aws_client.s3.get_(Bucket=s3_bucket, Key=key)
        # FI
        get_["Body"].read()
        snapshot.match("get-", get_)
        get__with_checksum = aws_client.s3.get_(
            Bucket=s3_bucket, Key=key, ChecksumMode="ENABLED"
        )
        get__with_checksum["Body"].read()
        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.skip_snapshot_verify(condition=is_old_provider, paths=["$..AcceptRanges"])
    def test_s3_copy_metadata_replace(self, s3_create_bucket, snapshot, aws_client):