Created a more robust copy sectors function; can now load more kernel code