Override equals for Move