I want to write a program which has the following capability:

First it must display a given URL's web page
then it must copy the contents of that web page and paste it into any another file like a word document.

Please help