Copies the elements of the collection to an array.
- Parameters:
-
| array | Output the one-dimensional Array that is the destination of the elements copied from this collection. |
| startAt | Input an integer that represents the index in array at which copying begins. |