# Copier_ConcurrentDictionarySurrogate&lt;TKey, TValue&gt; Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleanscodegen.orleans.serialization.codecs.copier-concurrentdictionarysurrogate-2/)

## DeepCopy(ConcurrentDictionarySurrogate&lt;TKey, TValue&gt;, CopyContext) {#deepcopy-orleans-serialization-codecs-concurrentdictionarysurrogate-tkey-tvalue-94a23d34}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleanscodegen.orleans.serialization.codecs.copier-concurrentdictionarysurrogate-2/methods/deepcopy-orleans-serialization-codecs-concurrentdictionarysurrogate-tkey-tvalue-94a23d34/)

```csharp
public ConcurrentDictionarySurrogate<TKey, TValue> Copier_ConcurrentDictionarySurrogate<TKey, DeepCopy(ConcurrentDictionarySurrogate<TKey, TValue> result, CopyContext context)
```

Creates a deep copy of the provided input.

### Parameters

- `result` (`ConcurrentDictionarySurrogate<TKey, TValue>`): The input.
- `context` (`CopyContext`): The context.

### Returns

A copy of `input`.
