The errors-in-variables identification problem concerns dynamic systems whose input and output variables are affected by additive noise. Several estimation methods have been proposed for identifying dynamic errors-in-variables models. In the paper a covariance matching approach is proposed to solve the identification problem. It applies for general types of input signals. The method utilizes a small set of covariances of the measured input-output data. This property applies also for some other methods, such as the Frisch scheme and the bias-eliminating least-squares method. Algorithmic details for the proposed method are provided. The method is evaluated by using numerical examples, and is shown to have competitive properties as compared to alternative methods.