Copies the Elements into an array.
[C#] virtual void CopyTo(T[] array, int index) [Visual Basic] Overridable Function CopyTo(array() As T, index As int) As void
virtual void CopyTo(T[] array, int index)
Overridable Function CopyTo(array() As T, index As int) As void
Copies the elements of the collection to an array starting at a particular index.