---
title: "MetadataDictionary..::.CopyTo Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_MetadataDictionary_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/)

# MetadataDictionary.CopyTo Method 
 
Copies the elements of the dictionary into the specified array beginning from specified index.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Overridable Sub CopyTo ( _array As Array, _index As Integer _
)
```
 
```csharp
public virtual void CopyTo(Array array,int index
)
```
 
### Parameters
 
 - array
     - Type: [System.Array](http://msdn2.microsoft.com/en-us/czz5hkty)
One-dimensional zero-based [Array](http://msdn2.microsoft.com/en-us/czz5hkty) that is the destination for the items. Items are values without keys.

 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
The zero-based index in array at which copying begins.
   
## See Also

### Reference

- [MetadataDictionary Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_MetadataDictionary.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
