title: How to merge two files on NTFS by chaining the file's B-tree nodes to avoid reading any file
body: <p>I have the following challenge:</p>
  
  <ul>
  <li>File1 is a huge file, let's say the the filesystem assigns it disk blocks [1, 2, 5]</li>
  <li>File2 is another huge file, let's say the filesystem assigns it disk blocks [<strong>10, 15, 16, 18</strong>]</li>
  </ul>
  
  <p>Traditional append opens File2 and copies it to the end of File1, so it ends up like</p>
  
  <ul>
  <li>File1: [1, 2, 5], [<em>30, 20, 40, 182</em>] (it assigns and copies File2 blocks in new ones)</li>
  <li>File2: [<strong>10, 15, 16, 18</strong>] (Will still be in use and assigned to File2)</li>
  </ul>
  
  <p>I want to merge the two files without ever reading the files, let's say, getting File1 chain and consume File2, so it ends like up</p>
  
  <ul>
  <li>File1: [1, 2, 5], [<strong>10, 15, 16, 18</strong>] (and File2 gets consumed in the process)</li>
  </ul>
  
  <p>Do you know any API call to do that magic?</p>