The dynamical Cooperative Lamb Shift in a system of two-level atoms in a slab-geometry