See MemoryExtensions.Overlaps<T>(), specifically
public static bool Overlaps<T> (this Span<T> span, ReadOnlySpan<T> other, out int elementOffset);