How to copy a file with spaces in its file name from one bucket to the other using AWS CLI?

To copy a file that has space in its name to and from S3 bucket, simply enclose the paths in double-quotes as shown below –