Just copy the objects from an S3 bucket folder to another folder, in the same bucket.
So, I had a motivation to do that, you I don't know =)
Before all, run the npm install command =)
In the index.js configure the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN Configure the constants.js file, change it as desired.
- npm run start