Yank entire file

Solution 1:

I use the following instruction: :%y+

Solution 2:

ggyG (go to the first line, yank to the last line)

Edit: Ah, system clipboard. Doesn't exactly roll off the fingers, but: gg"+yG

Solution 3:

A working solution in old vi is :r filename in the new file.