form container - Copy text value to another text value based on checkbox
Hi Team
I am working on form container on AEM page where I have added AEM form container within that added a container and added form options input.
I would like to achieve functionality like below. when checkbox is selected I want copy shipping address to Billing address, when unchecked the billing address should get cleared.

Please provide me some lead on how to progress on this requirement.
Thanks and Regards
Prashanthi