# Sandbox.Internal.SafeStreamBridge.CopyToAsync

```csharp
System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken)
```

### Parameters

- `destination` (`System.IO.Stream`)
- `bufferSize` (`int`)
- `cancellationToken` (`System.Threading.CancellationToken`)

### Returns

`System.Threading.Tasks.Task`

Declared in [Sandbox.Internal.SafeStreamBridge](/api/Sandbox.Internal.SafeStreamBridge).
Assembly: `Sandbox.System`.
