Can I copy written music into my resource?
Whilst a piece of music may be out of copyright, the type setting in the book it is in may be copyrighted.  The safest option is therefore to use notation software to write the music out yourself.
There are many free versions of music notation software on the internet which can be used for this purpose.