GL implementations of copy() methods, fix #1924