I copied the whole input folder, editing modifiers.lua with the new ID, and renaming all hotas files according to the new IDs. One thing I surprised me (for good) was that copying the whole DCS folder + Saved Games folder to the new installation worked flawlessly. I only needed to deactivate A-10, BS2 and FC3 and reactivate in the new installation.