title: Using memcpy to copy a range of elements from an array
body: <p>Say we have two arrays:</p>
  
  <pre><code>double *matrix=new double[100];
  double *array=new double[10];
  </code></pre>
  
  <p>And we want to copy 10 elements from matrix[80:89] to array using <code>memcpy</code>.</p>
  
  <p>Any quick solutions?</p>