Move an object from x,y,z coordinate to x,y,z coordinate?

Hi all - long time 3d geek but completely new to scripting. I am applying unity for use in an architectural design process (crowd source design games) and need some help in starting to wrap my brain around the basics of scripting (yup, been through the tutorials and manuals - sure it's there, but it is just not clicking).

I need some guidance on creating a script that moves an object from one location to another location over a given time, ideally easing into the motion, then easing to a stop.

I will probably need to post a follow up question on triggering the move...

Use iTween, or Unity's Animation component.

This function will move an object from the first xyz point to the second xyz point, over the duration of moveTime. It's also using SmoothStep, so the movement eases in and out.

// MoveObject ( startPos, endPos, moveTime )

function MoveObject (startPos : Vector3, endPos : Vector3, moveTime : float)
    var i = 0.0;
    var rate = 1.0/moveTime;
    while (i < 1.0)
        i += Time.deltaTime * rate;
        transform.position = Vector3.Lerp(startPos, endPos, Mathf.SmoothStep(0.0, 1.0, i));