Separated gl copy operation from draw routine