Added generic copy method for graphics