The lesson in school was simple...paraphrase, don't plagiarize. Credit, credit, credit. Bibliographies were required.
Musicians speak of their influences...and occasionally you hear it. A chord progression you've heard before, eerily similar, in a different song by a different artist. The lyrics and subject aren't at all the same, but the song...the song you've heard before.
Are we inspired, or are we original?