Not if you have to defeat copy protection code to do so. Thus, if you rip, encode and store the music tracks as MP3's you are OK. If you have to use the the magic marker trick to do the same thing on a copy protected CD you are violating the DMCA and it is a criminal violation.