copy old version rearrage bash