Z2 vs HTC One (M8)

Which phone to get!?