equals overrides
overrides for equals and equalsArray