Following example describe about how to copy all elements of an arraylist to another arraylist in c# or how to Copy all contents of ArrayList to another ArrayList.
private void CopyArrayList() { System.Collections.ArrayList OriginalArrList = new System.Collections.ArrayList(); System.Collections.ArrayList CopyArrayList = new System.Collections.ArrayList(); OriginalArrList.Add("1234"); OriginalArrList.Add("123"); OriginalArrList.Add("12"); OriginalArrList.Add("1"); OriginalArrList.Add("xyz"); CopyArrayList.Add(OriginalArrList.Clone()); }