If you're going to copy-paste it,
you should also check the license of that content and whether you're allowed by that license to copy and paste it to Stack Overflow, where all user-contributed content is licenses under CC-BY-SA 4.0.
you must follow the rules laid out for referencing material written by others.
you would do well to say whether or not you are affiliated in any way with the author of that content, or the service serving that content (see also /help/promotion).
There's another option that you haven't considered: attribution (give a link and name the author where possible) + paraphrasing / adaptation of how you present the information.
To address your thoughts on the options you thoughthought of,
Answer with a link? It may be a bad idea, because what if the page goes down in the future?
Yeah you have a good intuition to think that. You can archive the page if you're concerned and provide a link to the archived version. Ex. using https://web.archive.org/.
Just add the link in the comments? Again: what if the page goes down in the future?
If material written by others is a significant contributor to the material in your post, it would be best to put the link in the post itself. See the purposes of comments in /help/privileges/comment. TL;DR putting links in the comments is ok, but if you're the author of the post, you may as well. Others may add links in comments instead of editing a post they don't own because they don't know if adding it will conflict with your intent as the owner of the post (and edits should generally not conflict with the post-owner's intent).
Copy/paste the article and give credit with the link? If the page goes down people will still be able to see its content. But it can be seen as promoting a site while it is not.
I think I've addressed this in what I've said above.