In such a simple case you can use transform canvas:
\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\coordinate (A) at (0,0);
\coordinate (B) at (2.5,0);
\draw (A) -- (B);
\draw[transform canvas={yshift=2cm}] (A) -- (B);
\end{tikzpicture}
\end{document}
Output:

In more complex scenarios make sure to read the warnings in the PGF manual in section 25.4 Canvas Transformations:
Canvas transformations should be used with great care. In most circumstances you do not want line widths to change in a picture as this creates visual inconsistency.
Just as important, when you use canvas transformations pgf loses track of positions of nodes and of picture sizes since it does not take the effect of canvas transformations into account when it computes coordinates of nodes.