C Memcpy Alternative