It shall be the duty of any and all persons searching or hunting for stray horses, mules or cattle, to drive the band or herd in which they may find their stray horses, mules or cattle, into the nearest corral before separating their said stray animals from the balance of the herd or band; that in order to separate their said stray animals from the herd or band, the person or persons owning said stray shall drive them out of and away from the corral in which they may be driven before setting the herd at large.