title: How to copy a char array in C?
body: <p>In C, I have two char arrays:</p>
  
  <pre><code>char array1[18] = "abcdefg";
  char array2[18];
  </code></pre>
  
  <p>How to copy the value of <code>array1</code> to <code>array2</code> ? Can I just do this: <code>array2 = array1</code>?</p>