Copies the ArrayList, or a portion of it, into a one-dimensional array.
Copies a range of elements from the ArrayList into a compatible one-dimensional Array, starting at the specified index of the target array.
[Visual Basic] Overloads Overridable Public Sub CopyTo(Integer, Array, Integer, Integer)
[C#] public virtual void CopyTo(int, Array, int, int);
[C++] public: virtual void CopyTo(int, Array, int, int);
[JScript] public function CopyTo(int, Array, int, int);
Copies the entire ArrayList into a compatible one-dimensional Array, starting at the beginning of the target array.
[Visual Basic] Overloads Overridable Public Sub CopyTo(Array)
[C#] public virtual void CopyTo(Array);
[C++] public: virtual void CopyTo(Array*);
[JScript] public function CopyTo(Array);
Copies the entire ArrayList into a compatible one-dimensional Array, starting at the specified index of the target array.
[Visual Basic] Overloads Overridable Public Sub CopyTo(Array, Integer)
[C#] public virtual void CopyTo(Array, int);
[C++] public: virtual void CopyTo(Array*, int);
[JScript] public function CopyTo(Array, int);
ArrayList Class | ArrayList Members | System.Collections Namespace