---
title: "ListItemCollection..::.CopyTo Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ListItemCollection_CopyTo_2_5390a9df.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/)

# ListItemCollection.CopyTo Method 
 
Copies list columns into array of [ListColumn](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListColumn.htm.md) objects.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public Sub CopyTo ( _array As IListItem(), _index As Integer _
)
```
 
```csharp
public void CopyTo(IListItem[] array,int index
)
```
 
### Parameters
 
 - array
     - Type:  [Aurigma.GraphicsMill.WinControls.IListItem](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IListItem.htm.md) []
Target array of objects implementing [IListItem](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IListItem.htm.md) interface.

 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
A zero-based index to start copying from.
   
## See Also

### Reference

- [ListItemCollection Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ListItemCollection.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
