Added copyMatches()