A new poem may point to another famous line through its image or recognizable situation without directly inserting the older words. This is allusion to poetry.
For example, the celebrated image of seeking shelter from burning ground only to turn to fire suggests moving from danger to something even worse. A new work can allude to that known image without quoting the original poem in full.