public void CopyTo() { CloneableType[] array = new CloneableType[7]; Assert.Throws <ArgumentException>(() => _array.CopyTo(array, 3)); _array.CopyTo(array, 0); for (int i = 0; i < _array.Length; i++) { Assert.AreEqual(_array[i], array[i]); } _array.CopyTo(array, 1); for (int i = 0; i < _array.Length; i++) { Assert.AreEqual(_array[i], array[i + 1]); } }