use memcpy to assign last timeval in progress_cb