Section 42. Bar to Prosecution.--If a violation of this act is a violation of a Federal law or the law of another state, a conviction or acquittal under Federal law or the law of another state for the same act is a bar to prosecution in this Commonwealth.