added D bindings

added texture copy