Simple implementation of memcpy(3)