set: Use memcpy for copy to/from user-space