Portugal GV gives you residency in Portugal. To be a resident in another country, you need to apply for residency in the country you plan to live in. I believe Germany also has a golden visa program.
This thread discuss the maximum length of stay allowed in other EU countries.