Problem on writing the data on note pad

Hi Every One,

I have come up with the new issue, here i want to write the my string data to my note pad through the scripting. When i write it my last array string only displayed because of over writing.

Actually i want to copy the string from one array to other string array and then i want to write it on note pad.
Here i gave my script, if you have any solution please tell me.

using UnityEngine;
using System.Collections;
using System.IO;
using System.Text;

public class Black : MonoBehaviour {

	public static bool temp;
	
	public string[] test;
	public string[] gf;

	// Use this for initialization
	void Start () {
		
		temp = false;
	
	}
	
	// Update is called once per frame
	void Update () {
		
		if(temp)
		{
			
			for(int i =0; i < test.Length; i++)
			{
				gf = new string[test.Length];
				
				gf[i] = test[i];
				File.WriteAllLines(Application.dataPath+"/Test.txt", gf);
			}
		}
	
	}
	
	void OnMouseUpAsButton()
	{
		temp = !temp;
		
	}
}

Thanks.

here i want to write the all string.