use Shell; $a = Shell::cat("file.text"); Shell::cp("a.txt", "b.txt");