Apparatus for obtaining or removing undisturbed cores