title: Why can't I assign an array variable directly to another array variable with the '=' operator?
body: <p>Why does the following assignment not work? I would like a low-level explanation if possible.  Also, here's the compiler error I get: incompatible types in assignment of 'char*' to 'char [20]'</p>
  
  <pre><code>class UCSDStudent {
  
    char name[20];
  
    public:
  
      UCSDStudent( char name[] ) {
        //this-&gt; name = name; does not work! Please explain why not
        strcopy( this -&gt; copy, copy ); //works 
      }
  
  };
  </code></pre>