Unable to Copy one field value to another


I have loaded UI using xml file. I have to copy the left side field values to right side fields on clicking the checkbox. I have used form’s onchange event to copy fields. All the fields from left are getting copiued to right except the last field Email.When I uncheck the checkbox and checkit again its getting copied correctly.Only the first time its empty. Can any one tell me what is the issue.



Could you please provide completed demo to reproduce your issue localy?