In the USA it's legal to make a copy of something you already own. If I want to make copies of any movie, music, or anything else, it's legal. However if I try to sell copies of something, that is VERY illegal. I'm unfamiliar with other countries, but I myself own many copies of my anime, and games. Because as many of you know, things eventually break down after time.
Make sure you carefully read software EULAs. Written contracts such as EULAs can be exceptions to the law as many software companies are international.