Technically speaking, copying any copyrighted work without permission is illegal. You usually have permission to install games on one PC and copying for backup purposes, for example, but ripping a PSX game, or downloading it even if you own a hard copy, or copying content files from Quake are...