preliminary memset and memcpy code
preliminary memset and memcpy code