title: Is memcpy() usually faster than strcpy()?
body: <p>Is <code>memcpy()</code> usually faster than <code>strcpy()</code> (on most real platforms)? (I assume that size of the string is known.)</p>
  
  <p>If I remember i386 assembler correctly, there are <code>loop</code> instructions which copy a given number of bytes or words. So it is the fastest way, while <code>strcpy()</code> i386 assembler implementation would use manual checking for <code>'\0'</code> in a plain loop.</p>
  
  <p>So I feel that on x86 <code>memcpy()</code> is faster than <code>strcpy()</code>.</p>
  
  <p>What's about other architectures?</p>