copy files and structure from pebble