Read four elements from a character array into another character array in C++
<p>Suppose <code>char *data = "02001110000000000"</code></p>

<p>How can i move only first four elements <code>0200</code> into another character array?</p>