title: How can I overwrite an array with another array in C
body: <p>I am wondering if it is possible in C to overwrite the contents of one array with another, and by doing so, how do I work around with the loss of array size?</p>
  
  <p>Say I have two arrays.</p>
  
  <pre><code>int a[] = {1,2,3,4,6,7,8};
  int b[] = {1,6};
  
  // How can I overwrite the array a with array b, so get the following?:
  a[] = {1,6};
  
  </code></pre>