State file migration from one aws account to another

Hi Everyone,
We are planning to migrate state files from one aws account to another. What would be the best way to migrate s3 bucket state files automatically using some shell scripts? Looking for some advanced level solution as it is critical for the business.

Regards
Mohammad

If it’s a one-time migration, I’d probably be inclined to use rclone or aws s3 sync and be done with it, especially if it’s a single bucket that has all the files.

Is the concern that you need to keep them in sync over a longer period of time or something?