Changed strcpy() calls into memcpy() calls.