use memcpy over FD_COPY