# CopyTo(Column[], int)

> Copies the elements of the current collection to a Array, starting at the specified index.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public void CopyTo(Column[] array, int arrayIndex)
```

### Parameters

**** (\[Column\[]]\(/engine/6000.5/script-reference/unityengine/uielements/column)): The array to copy to.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The starting index.
