The whole of morality is not contained by the law. How about those folks who broke apartheid law by going to the University of Alabama? I stipulate that operational security is not exactly part of breaking apartheid laws, but still...
Copyright laws are going way way overboard. How about breaking those laws in order to expose corruption? That could happen, easily. "Don't commit serious crimes" is advice for the conformist.
Going to UofA during segregation wasn't a serious crime.
As a practical matter, civil disobedience is most effective when you aren't committing serious crimes.
Throwing a rock through a window to support coffee farmers in Guatemala is one thing. Bombing a logging operation is quite another.
Even if you think you are being moral, it's really stupid to commit serious crimes.