The easiest solution is to use EFS. It will not create a copy but each instance will have access to the file from their AZ.
The solution for this is to use EFS. You need to create a efs first, then go to your ec2 instance and using amazon efs utils mount it to the instance then do the same for the next instance and you will have the same efs running on both instances so the file sharing will work. Please keep in mind to check the security group configurations that will be needed when using same efs on different AZ's.
How can EC2 maintain IP addresses in a multi-AZ failover situation?Accepted Answerasked 2 years ago
create clone of ec2 instance in two AZasked 8 months ago
Unable to open more than ~50k connections between two EC2 instances in the same VPCasked 2 months ago
Communication between two private ec2 instancesasked 5 months ago
How to enable VPC Endpoint setting about multiple private subnet per AZasked 2 months ago
EC2 EBS usage different between two instancesasked 3 years ago
Routing network traffic between two EC2 instances in the same subnet to a firewall appliance in another VPCAccepted Answerasked 10 months ago
Can you clone two different repositories from CodeCommit into the same EC2 instance?Accepted Answerasked 9 months ago
EC2 Information RequiredAccepted Answerasked 3 years ago
data transfer cost between two AZs in the same VPC same accountAccepted Answerasked 2 years ago