title: Copy const array to dynamic array in Delphi
body: <p>I have a fixed constant array</p>
  
  <pre><code>constAry1: array [1..10] of byte = (1,2,3,4,5,6,7,8,9,10);
  </code></pre>
  
  <p>and a dynamic array</p>
  
  <pre><code>dynAry1: array of byte;
  </code></pre>
  
  <p>What is the easiest way to copy the values from <strong>constAry1</strong> to <strong>dynAry1</strong>?  </p>
  
  <p>Does it change if you have a const array of arrays (multidimensional)?</p>
  
  <pre><code>constArys: array [1..10] of array [1..10] of byte = . . . . .
  </code></pre>