Basic Deluge script to copy 1 field to another

Basic Deluge script to copy 1 field to another

I have a set of address boxes for street city state & zip to identify a job location. I have a duplicate set of boxes to identify the bill to address. I have a radio button to select to copy the job location address information to the bill to address.

So....
job address
job city
job state
job zip

Copy Job Address to Bill To Address?      Yes

Bill to address
Bill to City
Bill to State
Bill to zip

This is very simple I know but I cannot seem to find examples of this. What would the script look like to copy the value from JOB ADDRESS to BILL TO ADDRESS if yes is selected?


Thanks in advance