Copy contents of first repeater fields to another

I am creating form having address fields of users. Each repeater item contains address fields of one user.

Now I want to create a button which will copy the data of address fields from first repeater item and paste it into relevant fields of other repeater.

As per my understandings, we need copy the state of fields that I wanted, but can't figure out how do I copy and paste it to other fields.
Was this page helpful?