sameq does not mean "same quality": it is being ignored in your command since you can't re-encode and use "-vcodec copy" at the same time, and it has been removed upstream anyway. The "-f matroska" is superfluous.