The simple answer to your question is that copying a borrowed CD is copyright infringement.
The reason it is infringement is that § 106 of the Copyright gives a copyright owner/holder the "exclusive" right to "reproduce the copyrighted work in copies or phonorecords" and "to distribute copies ... of the copyrighted work to the public by sale or other transfer of ownership, or by rental, lease, or lending." (emphasis added). The right that the library possesses is the right to "lend" the work and not copy it.
Many consumers assume that if they are not selling the work and merely copying the music that it is not infringement. In almost all cases copying commercial music is copyright infringement. The only exception is where the copyright owner permits copying of their work. Most commercial music (100% of major label music) does not permit copying.
The simple answer is
No, it is illegal. The point is you are copying something that it is not yours, meaning you have not paid the creator of the art her dues. How would you feel if you create one CD and everybody makes copies of it? Right, so don't do it
Brian Patrick KinderTrademark Infringement AttorneyIrvine, CA ·
The other contributors are probably correct that this would be illegal. However, the only way to truly answer your question is to read the terms of use, license agreement, or whatever agreement are associated with the contemplated CD. I suppose it is possible that the CD you have comes with an open source free to copy agreement - very, very unlikely though (hence the assumption by all other contributors that this would be illegal), but I suppose it is possible?
In the end, you have to find out the terms of use, scope of the license agreement, etc. in order to know for sure what use you can make of it.
Good luck.