Moved image copy to its own method.

In the future it can be called only when new data is available from the GPU.