sourcePath = '.\Square_train';
targetPath = '.\Square_test';
fileList = dir(sourcePath);
for k = 3 :5: length(fileList)
movefile([sourcePath,'\',fileList(k).name],targetPath);
end
%copyfile([sourcePath,'\',fileList(k).name],targetPath)