fix update array: add eq, rsub, radd, isEmpty, copy, deepcopy