added copy and ls functions