Add a fallback to buffer copying if GL_ARB_copy_buffer is not available.

And added a test for buffer copying.