It *is* legal in the UK except we call it filtering. Until recently it was a bit of a legal grey area but now Rule 88 of the revised 2007 edition of the Highway code includes:
"Additionally, when filtering in slow-moving traffic, take care and keep your speed low."
Nonetheless, this...