I need to know how to move an element in an array to the last position. 

```
Dim lastElement As String = strChar(UBound(strChar)) 'J.

    For i As Integer = 0 To characters.Count - 1
        If characters(i).actor = searchName And characters(i).title = searchMovie Then
            For j = UBound(strChar) To LBound(strChar) + strChar.Count - 1 Step -1
                strChar(j) = strChar(j - 1)
            Next
        End If
    Next

    strChar(LBound(strChar)) = lastElement

```

So here I have a structure characters and an array strChar. 

I looked this code up on the internet and can't figure it out. It won't move the position of the element to the last or the first, but copies an element to the top. 

I'm supposed to be deleting an element, but first I have to move the element before redim preserving it. 

I wish I could use an arraylist, but i can't because i'm not supposed to for school.