How to delete address list entries of one list from another

Im new to scripting, hope someone can help.
Lets say i have one address “list1” with 2 entries, and another “list2” with several entries, what i want to do is delete from “list2” all the entries in “list1”. Once done, delete “list1”