Amazon S3 does not provide a concatenation feature. This is primarily an object storage service.
You will need some kind of process that loads objects, merges them, and then loads them again. The most efficient way to do this is to load parallel objects to take full advantage of the available bandwidth. However, this is more difficult for the code.
I would recommend doing the processing in the cloud, so as not to download objects over the Internet. Running this on an Amazon EC2 or AWS Lambda would be more efficient and less expensive.
source share