Here you can find the source of clone(List
public static List<String> clone(List<String> list)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.List; public class Main { public static List<String> clone(List<String> list) { if (list == null) { return null; }/*from www . j a v a2 s .c om*/ List<String> newList = new ArrayList<String>(); for (int i = 0, k = list.size(); i < k; i++) { newList.add(list.get(i)); } return newList; } }