# GrapeCity.Documents.Word.CopyService.CopyTo

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_CopyService_CopyTo_" data-uid="GrapeCity.Documents.Word.CopyService.CopyTo*">CopyTo Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_CopyService_CopyTo_" data-uid="GrapeCity.Documents.Word.CopyService.CopyTo*"></a>
<h4 id="GrapeCity_Documents_Word_CopyService_CopyTo_GrapeCity_Documents_Word_RangeBase_GrapeCity_Documents_Word_RangeBase_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.CopyService.CopyTo(GrapeCity.Documents.Word.RangeBase,GrapeCity.Documents.Word.RangeBase,GrapeCity.Documents.Word.InsertLocation)">CopyTo(RangeBase, RangeBase, InsertLocation)</h4>
<div class="markdown level1 summary"><p>Copy range to range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Range CopyTo(RangeBase from, RangeBase to, InsertLocation insertLocation = InsertLocation.End)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CopyTo(from As RangeBase, [to] As RangeBase, Optional insertLocation As InsertLocation = InsertLocation.End) As Range</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="GrapeCity.Documents.Word.RangeBase.html">RangeBase</a></td>
      <td><span class="parametername">from</span></td>
      <td><p>Source range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.RangeBase.html">RangeBase</a></td>
      <td><span class="parametername">to</span></td>
      <td><p>Destination range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html">InsertLocation</a></td>
      <td><span class="parametername">insertLocation</span></td>
      <td><p>Defines relative to &quot;to&quot; insert content point.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.Range.html">Range</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
