It is similar to making a xerox copy of a book obtained from the library, recording a rented video on a new videocassette tape, making an unauthorized recording at a music concert, or typing code you found in Numerical Recipes into your own open source project.
It is not at all similar to boarding a ship and robbing the passengers.
I'm gradually realizing that this probably plays a larger effect in society than we think. Like the ancient parable of the prodigal son, whose faithful brother was jealous that the rebel was celebrated in the end. Maybe it also plays out in lifelong CS devotees vs. CS-for- the-money people -- the nerds might feel that they have "earned" CS more, and the dayjob folks might not appreciate the depth of understanding that comes from the dedication of the lifelong devotees?
For almost any other positions: it's murkier. If you take a berry off a bush on public property... what's the morality? Or growing from private property overhanging public that's just dropping fruit and the owners are either not present or clearly allowing fruit to drop? It's theirs, they absolutely could harvest it, but they're not and it's clearly implied that is not going to change. Now what?
Yes that's still further towards harmless than you can likely argue software piracy is (... ignoring the network effects of everyone knowing how to use X because everyone pirated it, or I could probably come up with others), but my point is that strict black and white separations have dividing lines and breaking points. Whether there is black or white somewhere isn't really useful to anyone, it's where you draw the line.