Return a shallow copy of an array containing only those elements which fail a test implemented by a predicate function.