Classical inference for static and dynamic copula models