---
title: "ControlPointCollection..::.CopyTo Method (Array, Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ControlPointCollection_CopyTo_2_d6abc6ee.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# ControlPointCollection.CopyTo Method (Array, Int32)
 
Copies the elements of the collection to an array starting at a particular index.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
Public Sub CopyTo ( _array As Array, _index As Integer _
)
```
 
```csharp
public void CopyTo(Array array,int index
)
```
 
### Parameters
 
 - array
     - Type: [System.Array](http://msdn2.microsoft.com/en-us/czz5hkty)
A one-dimesional array that is the destination of the elements copied from the collection.

 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
A zero-based index in the array at which copying begins.
 
### Implements
 
[ICollection.CopyTo(Array, Int32)](http://msdn2.microsoft.com/en-us/t4kx53hz)
 
## Remarks
  
The array must have zero-based indexing.
   
## See Also

### Reference

- [ControlPointCollection Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ControlPointCollection.htm.md)
- [CopyTo Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_ControlPointCollection_CopyTo.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
