Simple problem with shader 2D

4.2.1

(2D)
With a shader how can you capture an area from an image layer to transcribe it into a texture?

This would be used to create a mirror effect or take a screenshoot…