added dirtree and expanded_path in copy and move