Pergunta de entrevista da empresa Stockal

Given a 2 array, return true if the 2nd array consists of all the elements of the first array in the same order.