Move text without cutting and pasting?

Hey, I haven’t had time to improve it much but I just posted the version I’ve been using recently here:

I’d like to make it more generic so that you don’t need to hardcode the target page/header, but most of the time I’m moving things to the same set of targets anyway.