title: problems with char array = char array
body: <p>I have:</p>
  
  <pre><code>char message1[100];
  char message2[100];
  </code></pre>
  
  <p>When I try to do <code>message1 = message2</code>, I get error:</p>
  
  <blockquote>
    <p>incompatible types when assigning to type <code>‘char[100]’</code> from type <code>‘char *’</code></p>
  </blockquote>
  
  <p>I have functions like </p>
  
  <pre><code>if(send(clntSocket, echoBuffer, recvMsgSize, 0) != recvMsgSize){
     DieWithError("send() failed")
  }
  </code></pre>
  
  <p>inbetween.  Could these mess things up somehow? :(</p>
  
  <p>I have a feeling maybe you can't do <code>=</code> on char arrays or something, but I looked around and couldn't find anything.</p>