title: How to copy a char pointer into a char array?
body: <p>So I have a pointer to a char array:</p>
  
  <pre><code>temporaryVariable-&gt;arrayOfElements; // arrayOfElements is char*
  </code></pre>
  
  <p>I would like to copy into my char array declared with square brackets:</p>
  
  <pre><code>char stringArray[MAXIMUM_LINE_LENGTH + 1];
  </code></pre>
  
  <p>How can I do this?</p>