Let $\gamma_1,\gamma_2:\mathbb{R}\rightarrow\mathbb{R}^n$ ($n\geq 1$) be two smooth curves such that for every $\,t_2,t_1\in\mathbb{R}$ we have $|\gamma_1(t_2)-\gamma_1(t_1)|=|\gamma_2(t_2)-\gamma_2(t_1)|$. In otherwords, the pseudometrics on $\mathbb{R}$ given by: $(t_1,t_2)\mapsto |\gamma_1(t_2)-\gamma_1(t_1)|$ and $(t_1,t_2)\mapsto |\gamma_2(t_2)-\gamma_2(t_1)|$ are identical.
Question: Must there exist an isometry $f:\mathbb{R^n}\rightarrow \mathbb{R}^n$ such that $\gamma_2=f\circ\gamma_1$ ?
Thank you