An $\varepsilon$-Best-Arm Identification Algorithm for Fixed-Confidence and Beyond