import java.util.*;
public class CloneOfArraylist{
public static void main(String args[]){
ArrayList<String> colors = new ArrayList<String>();
colors.add("Violet");
colors.add("Indigo");
colors.add("Green");
colors.add("Yellow");
colors.add("Orange");
colors.add("Red");
ArrayList<String> clone_c1 = (ArrayList<String>)colors.clone();
System.out.println("Cloned Array is :\n"+clone_c1);
}
}