Package java.util
Class Collections
static void copy(List dest, List source)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Copies all of the elements from one list into another. After the operation, the index of each copied element in the destination list will be identical to its index in the source list. The destination list must be at least as long as the source list. If it is longer, the remaining elements in the destination list are unaffected.
This method runs in linear time.