fixed texture_copy