title: C++ Pass bytes from char* to a BYTE*
body: <p>I would like to know how to pass/COPY a sequence of bytes represented as a <code>char*</code> to a <code>BYTE*</code> in C++ in Windows.</p>
  
  <p>Let's say I have this <code>char*</code> :</p>
  
  <pre><code>const char *ByteString = "\x3B\xC8\x74\x1B"  
  </code></pre>
  
  <p>How would I COPY each byte from this char* to a <code>BYTE *Bytes</code> and vice-versa ?</p>
  
  <p>EDIT: Thanks alot for everyone's help ! </p>