# C1.Win.Document.Utils.CopyStream

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Document_Utils_CopyStream_" data-uid="C1.Win.Document.Utils.CopyStream*">CopyStream Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Document_Utils_CopyStream_" data-uid="C1.Win.Document.Utils.CopyStream*"></a>
<h4 id="C1_Win_Document_Utils_CopyStream_System_IO_Stream_System_IO_Stream_" data-uid="C1.Win.Document.Utils.CopyStream(System.IO.Stream,System.IO.Stream)">CopyStream(Stream, Stream)</h4>
<div class="markdown level1 summary"><p>Copies content of one stream to another.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void CopyStream(Stream src, Stream dst)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub CopyStream(src As Stream, dst As Stream)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">src</span></td>
      <td><p>The source stream.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">dst</span></td>
      <td><p>The destination stream.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
