I need Java code that will parse given file path and search it using command line arguments.
java arguments /home/documents/pictures/first.txt /home/var/second.txt
After the file is being searched, the content of each file will be copied to other new txt file and place it on the desktop. Example: the content of first.txt is "Hello world welcome to Programming" and then will be copied. So first create a file. Let's say newfirst.txt and it must on the desktop. the content of newfirst.txt is the same as first.txt . same as the second.txt