title: Best way to copy messages within 2 SQS queues across AWS accounts
body: <p>What is the best way to copy messages from one SQS queue to the other across AWS accounts? After searching,  I attached the policy granting full read and write access for the IAM user(in the destination account) to the source queue. Then I attached a Permission to the source queue for Everyone to have send and receive message access on the queue.</p>
  
  <p>I am getting below error -</p>
  
  <blockquote>
    <p>Exception in thread "main" com.amazonaws.AmazonServiceException: The
    security token included in the request is invalid. (Service:
    AmazonSQS; Status Code: 403</p>
  </blockquote>
  
  <p>Probably there is something wrong with the IAM user credentials, however, I have refreshed the credentials, but I'm still getting the error</p>