There's an add-on called Moneylink which can get the data out, or
alternatively you can export from reports.
However, if you want to put the data back in, that's another matter - you'd
need to import that data using QIF and that's not so easy if you are
attempting to purely change the existing data and not doing further analysis