# ConcurrentDictionaryCopier&lt;TKey, TValue&gt;.DeepCopy(ConcurrentDictionary&lt;TKey, TValue&gt;, CopyContext)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.concurrentdictionarycopier-2/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.concurrentdictionarycopier-2/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Codecs/ConcurrentDictionaryCodec.cs#L81-L102)

```csharp
public ConcurrentDictionary<TKey, TValue> ConcurrentDictionaryCopier<TKey, DeepCopy(ConcurrentDictionary<TKey, TValue> input, CopyContext context)
```

Creates a deep copy of the provided input.

### Parameters

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

### Returns

A copy of `input`.
