Sometimes New Testament authors quote extra-biblical books directly.
(Jude 1:14-15 quoting 1 Enoch 1:9)
Other times they adopt the language and ideas within them.