aarcemor: preprocessing files count and copy

files_count function receives the filetype as argument and count
the number of files found

files_copy fucntion receives the filetype as argument and copy to
the specified directory, relatives paths are retain

preprocessing function move to the official kernel directory and
and call file_count function for several filetypes