Copy rect fast

Faster CopyRect solution for X11. Hmm seems that something is wrong with my pull. Why it shows so many commits?