Most of the Tomtom software is intelligent enough to recognize device IDs. If you put 350 software on a 335 and vice versa, the software will flip to the menus for the hardware, but it will probably also cause various crashes as snippets of code for the incorrect menus are missing in the application package.
Bottom line, it won't work just copying files from one device to another.