---
title: "MetadataDictionary.CopyTo Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_MetadataDictionary_CopyTo_2_d6abc6ee.htm
product: "Graphics Mill"
---

# MetadataDictionary.CopyTo Method 
 
Copies the entire dictionary to a given array, starting at the specified index.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public virtual void CopyTo(Array array,int index
)
```
 
### Parameters
 
 - array
     - Type: System.Array
The one-dimensional zero-based Array that is the destination for the elements copied from the dictionary. Elements are values without keys.

 - index
     - Type: System.Int32
The zero-based index in array at which copying begins.
   
## See Also

### Reference

- [MetadataDictionary Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MetadataDictionary.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
