Expand memcpys that are between pointers and capabilities.

Really, we should be providing a family of memset and memcpy functions, for each combination of capabilities and pointers.