use rsync instead of cp. Be careful not to copy over data directories.