copyto list c# code example
Example: copy a list C#
using System;
using System.Linq;
using System.Collections.Generic;
List<string> source = new List<string>() { "A", "B", "C" };
List<string> clonedList = source.ToList();
Console.WriteLine(String.Join(",", clonedList));
// Result = A,B,C