# CopyTo(T\[],int)

Method in [OrderedSet](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler.upgrader/yarn.compiler.upgrader.orderedset)

## Summary

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

## Parameters

| Name             | Description |
| ---------------- | ----------- |
| `T[]` array      |             |
| `int` arrayIndex |             |
