You can use AWS CLI to do that you can install AWS CLI from here http://aws.amazon.com/cli/
The command that you can use for copying the file is as follows:-
$ aws s3 sync s3://mybucket-src s3://mybucket-target --exclude *.tmp
This will copy from one target bucket to another bucket.
See the documentation here : S3 CLI Documentation