Array of floats
Function that takes float and returns boolean. If function returns true float would be copied to NewArray
All float that returns true in predicate