As I said, do some Research, start with the Home Recording Act of 1992 and then the RIAA license terms for commercial recordings
Meantime here are the relevant sections form the Digital Millennium Copyright Act.
How do I know what's legal and what's not when it comes to copying music/movies?
Here's the bottom line: If you distribute copyrighted music/movies without authorization from the copyright owner, you are breaking the law. (Distribution can mean anything from "sharing" files on the Internet to burning copies of copyrighted material onto blank CDs, DVDs, or Flash drives, and selling or giving them to others.)
Is it illegal to upload music/movies onto the Internet even if I don't charge for it?
Yes, if the material is protected by copyright and you don't have the copyright holder's permission. U.S. copyright law prohibits the unauthorized distribution of copyrighted creative work whether or not you charge money for it.
What will happen to me if I get caught illegally copying or distributing copyrighted music/movies?
Under federal law, first-time offenders who commit copyright violations that involve digital recordings can face criminal penalties of as much as five years in prison and/or $250,000 in fines. You could also be sued by the copyright holder in civil court, which could cost you hundreds of thousands of dollars more in damages and legal fees.