---
title: "LayerCollection..::.ICollection..::.CopyTo Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_LayerCollection_System_Collections_ICollection_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/)

# LayerCollection.ICollection.CopyTo Method 
 
**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
  
```
Private Sub CopyTo ( _array As Array, _index As Integer _
) Implements ICollection.CopyTo
```
 
```csharp
void ICollection.CopyToCopyTo(Array array,int index
)
```
 
### Parameters
 
 - array
     - Type: [System.Array](http://msdn2.microsoft.com/en-us/czz5hkty)

 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
 
### Implements
 
[ICollection.CopyTo(Array, Int32)](http://msdn2.microsoft.com/en-us/t4kx53hz)
   
## See Also

### Reference

- [LayerCollection Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_LayerCollection.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
