The old rails are laid in places where new lines are being constructed or 2nd line is being laid - and that is used for track laying machines (to lay new rails) and ballast trains. Trains which bring ballast to the construction place (
/blog/post/2251173 - Pic 2).