add the function that copy source slice if first step is SELECT or REVERSE