Saving Custom Form Data to another Form using scripts

Hi , I have created an address field on sales invoice form , When I save the form I want the data from that field to be saved in Address List , Similarly I have also added Email address field which I want to be saved in Contact List.

I guess custom scripts will be able to do that but I have no idea how to achieve it ? Any suggestions ?