Answer
$(x-y)^{2}(x-y+2)(x-y-2)$
Work Step by Step
$(x-y)^{4}-4(x-y)^{2}=$... factor out $(x-y)^{2}$
$=(x-y)^{2}[(x-y)^{2}-4]$
... the brackets hold a difference of squares
$=(x-y)^{2}[(x-y)+2]\cdot[(x-y)-2]$
= $(x-y)^{2}(x-y+2)(x-y-2)$