Performance optimization, rewritten 'memcpy' and 'memchr' functions use assembly languauge