# Copier_State.DeepCopy(State, State, CopyContext)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.consistency.consistencytestgrain.copier-state/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.consistency.consistencytestgrain.copier-state/methods/)

```csharp
public void DeepCopy(State input, State output, CopyContext context)
```

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

### Parameters

- `input` (`State`): The input.
- `output` (`State`): The output.
- `context` (`CopyContext`): The context.
