copy doc comment