Beacon, your code takes away whatever was in the clipboard before you tried to capture the screen. Cooker's code is in a timer. If you put your code in a timer, you effectively render the clipboard useless.

Cooker, what you mean by "save the colors into an array"? Are you trying to store the image in a variable so you can show it someplace else (or save it)? If so, there are easier ways.