Thanks @arunpatidar
I have updated the .html file of form-options-input and now I am able to map by using below script.
<script>
displayModelCheckBox = () => {
var isChecked = document.getElementById('Res-address-checkbox').checked;
if(isChecked){
document.getElementById('new-building-name-section').value = document.getElementById('building-name-section').value;
}else{
document.getElementById('new-building-name-section').value = '';
}
}
It is working fine as to go for better approach I will place this script in clientlibs.
Thanks for your response.