Shakespeare was more a craftsman than artiste. So yes, plenty was borrowed, or reworked, but people were less possesive in the theatre then. Molliere did so all the time and people took his work in turn. Neither did they treat plays as if written in stone.