Then create a new document and paste the contents by pressing Command(Apple) + V.
This should select all contents of the document, then copy the contents by pressing Command(Apple)+C.
So open that document, click Edit menu and click Select All or press Command(Apple) + A.