There are many high-quality guides available for navigating the issues around copyright. We suggest the following as just some places for further investigation.
A comprehensive guide to copyright from the NYU Libraries. Includes extensive information on getting permission to use copyrighted works, such as music.
Guide to copyright from Yale University Libraries, including information on using copyrighted works, securing copyright for authors and creators, and fair use.
Copyright basics from the Cornell University Libraries. Includes information on using copyrighted materials, open access, copyright term and the public domain, and copyright resources.