The syntax rarely change between Junos versions. Regarding the models,generally, all the configuration has the same function across platform, however, keep in mind that the hardware is very important to have a sucessful migration.
You better confirm the hardware capabilities, after this, you are ready to copy/paste or merge the configuration,