Quote:
Assume please we copy-paste the codes of one template website from a textbook
then,will this contain copyright issues and cause any problem?
Unless it is written on the textbook, consider ot is not free.
Only the author of the template can tell you, seriously !
Nota: it is probably free for personal use.