Ok, guys, I figured it out. I simply used the pixel shader part to copy the information into another bmap.