faster copy routine than memcpy