### 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_
os.path.dirname(__file__),
                "../awslambda",
                "functions",
                "lambda_triggered_by_sqs_download_s3_file.py",
            ),
            func_name=function_name,
            role=lambda_su_role,
            runtime=LAMBDA_RUNTIME_PYTHON39,
            envvars=dict(
                {
                    "BUCKET_NAME": bucket_name,
                    "OBJECT_NAME": key,
                    "LOCAL_FILE_NAME": "/tmp/" + key,
                }
            ),
        )
        aws_client.awslambda.invoke(FunctionName=function_name, InvocationType="Event")
        # TODO 
        retry(
            check_expected_lambda_log_events_length,
            retries=10,
            sleep=1,
            function_name=function_name,
            regex_filter="success",
            expected_length=1,
            logs_client=aws_client.logs,
        )
    @pytest.mark.aws_validated
    @pytest.mark.skip_snapshot_verify(condition=is_old_provider, paths=["$..Error.RequestID"])
    def test_precondition_failed_error(self, s3_create_bucket, snapshot, aws_client):