# Sandbox.Internal.SafeStringBuilder.CopyTo

## Overload 1

```csharp
void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count)
```

### Parameters

- `sourceIndex` (`int`)
- `destination` (`char[]`)
- `destinationIndex` (`int`)
- `count` (`int`)

## Overload 2

```csharp
void CopyTo(int sourceIndex, System.Span<char> destination, int count)
```

### Parameters

- `sourceIndex` (`int`)
- `destination` (`System.Span<char>`)
- `count` (`int`)

Declared in [Sandbox.Internal.SafeStringBuilder](/api/Sandbox.Internal.SafeStringBuilder).
Assembly: `Sandbox.System`.
