Mr. Portchester's problem

Last time I saw Mr. Portchester in London he was facing a serious problem pouring his wine from one vessel to the other. Mr. Portchester had two ten quart containers full of wine. He also had a five quart and a four quart measure. All he wanted to do was put exactly three quarts into each of the two measures. He was standing there wondering how he is to do it! Now I offered to help and gave him some suggestions. Can you find out what was my suggestion, and how many manipulations of pouring from one vessel to the other did he require, without waste of any wine, tilting or other tricks.