The `memcpy' procedure allows to copy memory from bytevectors to unmanaged (malloc'ed) memory and vice-versa.