federal law

If a state law gives people more rights than a federal law, the state law is legally supposed to prevail. This means state law will always supersede federal law when the person in question stands to gain more from the state law, right? Wrong.