Added a copy transaction function to ledger-mode