add offset data for memcpy kernel