<?php

$currentValues = [1, 2];
$newValues = [1, 3, 1, 4, 2];
$a = array();
$checkValues = array_flip($currentValues);
foreach($newValues as $v){
	if(!isset($checkValues[$v])){
		$a[] = $v;
	}
}
print_r($a);