I will try to explain it to you again: the purpose of all the criminal offences that are subsumed under "Geheimnisverrat" in German law is to punish leaking confidential information (e.g. trade secrets).
For example, a movie that is available on a BluRay disc, is not confidential because you can easily buy it. Thus, copying a BluRay disc etc. is does not belong under the umbrella term "Geheimnisverrat" because the content of the BluRay disc is not confidential data, but copyrighted.
Thus, in German law, Urheberrechtsverletzung (roughly and often translated with "copyright violation", though not identical) and Geheimnisverrat (secret betrayal) are very different criminal acts.