Skip to navigation

Question:
How to copy/select a whole file or buffer in Emacs?

Use simple algorithms as well as simple data structures.