I have two pcl files containing logos in each. I need to merge the file into a single pcl file. Iam able to merge the same but the problem is i get the two logos one after the other vertically. I need the two logos to appear on the same line at top of the pcl file instead of one below the other. Iam using the code below to achieve what iam getting.


public void fileMerger(string inputFile, string outputFileName,string filetype )
{
{
#region get PCL file from inputFile
String ftype = "*." + filetype;
string[] tmpfiles = Directory.GetFiles(inputFile, ftype);
#endregion get PCL file from inputFile
FileStream output = new FileStream(outputFileName, FileMode.OpenOrCreate);
#region start Processing
foreach (string tempInput in tmpfiles)
{
FileStream inputfiles = new FileStream(tempInput, FileMode.Open);


if (inputFile.EndsWith(Environment.NewLine))
{
inputFile = inputFile.TrimEnd(Environment.NewLine.ToCharArray());
}
//Library.Utils.FlashMessage("inputfiles", "read");
CopyStream(output, inputfiles);
}
#endregion start Processing
}
}

void CopyStream(Stream destination, Stream source)
{
int count;
byte[] buffer = new byte[1000000];
while ((count = source.Read(buffer, 0, buffer.Length)) > 0)
{


destination.Write(buffer, 0, count);

}



}
Please help..