scanselect uses memcpy now