Simplify: Doing all the copying at the end again

This has an negative effect on the used ram size. However, it makes
the code and the concept of what is actually been done much more obvious.