Replace strcpy with memcpy

Since len is known, the copy function does not need to check byte by byte
the end of the string.

Signed-off-by: Olivier Langlois <olivier@olivierlanglois.net>
Merge pull request #134 from lano1106/master

Replace strcpy with memcpy