copy offset into key