Added path patter matching, copying files