# MapFieldCopier&lt;TKey, TValue&gt;.DeepCopy(MapField&lt;TKey, TValue&gt;, MapField&lt;TKey, TValue&gt;, CopyContext)

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Serializers/Orleans.Serialization.Protobuf/MapFieldCopier.cs#L55-L59)

```csharp
public void MapFieldCopier<TKey, DeepCopy(MapField<TKey, TValue> input, MapField<TKey, TValue> output, CopyContext context)
```

Clones members from `input` and copies them to `output`.

### Parameters

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