std::copy : copy is happening only for 1 byte and not for specified length
<p>Please see the code snippet below :</p>

<pre><code>#include &lt;iostream&gt;
using namespace std;

int main()
{
uint32_t len, x;
char abc[] = "12345678";
uint8_t *ptr = (uint8_t *)abc;
copy(ptr, ptr + 4, reinterpret_cast&lt;uint32_t*&gt;(&amp;len));
cout &lt;&lt; " len: " &lt;&lt; len &lt;&lt; endl;
} 
</code></pre>

<p>The output is 49! I would want the output to be 1234. Am I missing something</p>
