# Copier_StreamSubscriptionHandle&lt;T&gt; Methods

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

## DeepCopy(StreamSubscriptionHandle&lt;T&gt;, CopyContext) {#deepcopy-orleans-streams-streamsubscriptionhandle-t-orleans-serialization-clonin-65a92074}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.copier-streamsubscriptionhandle-1/methods/deepcopy-orleans-streams-streamsubscriptionhandle-t-orleans-serialization-clonin-65a92074/)

```csharp
public StreamSubscriptionHandle<T> DeepCopy(StreamSubscriptionHandle<T> original, CopyContext context)
```

Creates a deep copy of the provided input.

### Parameters

- `original` (`StreamSubscriptionHandle<T>`): The input.
- `context` (`CopyContext`): The context.

### Returns

A copy of `input`.

## DeepCopy(StreamSubscriptionHandle&lt;T&gt;, StreamSubscriptionHandle&lt;T&gt;, CopyContext) {#deepcopy-orleans-streams-streamsubscriptionhandle-t-orleans-streams-streamsubscr-4d2c9d44}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.copier-streamsubscriptionhandle-1/methods/deepcopy-orleans-streams-streamsubscriptionhandle-t-orleans-streams-streamsubscr-4d2c9d44/)

```csharp
public void DeepCopy(StreamSubscriptionHandle<T> input, StreamSubscriptionHandle<T> output, CopyContext context)
```

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

### Parameters

- `input` (`StreamSubscriptionHandle<T>`): The input.
- `output` (`StreamSubscriptionHandle<T>`): The output.
- `context` (`CopyContext`): The context.
