Sorry, I made a mistake. I thought X-Amz-Copy-Source was a query parameter, but it is a header. Changing the query parameter to a header worked for me.
X-Amz-Copy-Source