Barca follow Madrid into Copa quarters