public void CopyToTests() { CLArguments copyToList = this.Template.Clone(); string[] argsArray = new string[copyToList.Count]; copyToList.CopyTo(argsArray, 0); Assert.IsTrue(copyToList.SequenceEqual(argsArray), "Copyed array is equal to args list"); }