# Copier_StreamCheckpointerGrainState Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.copier-streamcheckpointergrainstate/)

## DeepCopy(StreamCheckpointerGrainState, CopyContext) {#deepcopy-orleans-streams-streamcheckpointergrainstate-orleans-serialization-clon-f9c10946}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.copier-streamcheckpointergrainstate/methods/deepcopy-orleans-streams-streamcheckpointergrainstate-orleans-serialization-clon-f9c10946/)

```csharp
public StreamCheckpointerGrainState DeepCopy(StreamCheckpointerGrainState original, CopyContext context)
```

Creates a deep copy of the provided input.

### Parameters

- `original` (`StreamCheckpointerGrainState`): The input.
- `context` (`CopyContext`): The context.

### Returns

A copy of `input`.

## DeepCopy(StreamCheckpointerGrainState, StreamCheckpointerGrainState, CopyContext) {#deepcopy-orleans-streams-streamcheckpointergrainstate-orleans-streams-streamchec-68886d3e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.copier-streamcheckpointergrainstate/methods/deepcopy-orleans-streams-streamcheckpointergrainstate-orleans-streams-streamchec-68886d3e/)

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

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

### Parameters

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