## Stream::CopyTo(const SharedPtr\<Stream\>\&) method


Copia byte nello stream specificato.

```cpp
void System::IO::Stream::CopyTo(const SharedPtr<Stream> &destination)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| destination | const SharedPtr\<Stream\>\& | [Stream](../) a cui verranno copiati i dati. |

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../)
* Class [Stream](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
## Stream::CopyTo(const SharedPtr\<Stream\>\&, int32_t) method


Copia byte nello stream specificato, usando la dimensione del buffer specificata.

```cpp
void System::IO::Stream::CopyTo(const SharedPtr<Stream> &destination, int32_t buffer_size)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| destination | const SharedPtr\<Stream\>\& | [Stream](../) a cui verranno copiati i dati. |
| buffer_size | int32_t | Dimensione del buffer. |

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../)
* Class [Stream](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
