You can do it in several ways.
1. You can loop through list_1, and for each element
- remove value, x, from list_1
- insert x into list_2
The API for an ArrayList will show you how to insert/remove/get elements
from it.
2. ArrayLists have an method that adds all the elements from one collection
to the array list.
The API for the arraylist can be found here:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/ArrayList.html /Svend Rost