Design a python program to handle an array with the following rules:
If the element is divisible by 3, the element should be replaced with "Fizz".
If the element is divisible by 5, the element should be replaced with "Buzz".
If the element is divisible by 3 and 5, the element should be replaced with "FizzBuzz".
arr = [2, 3, 4, 5, 6, 15]
def fizz_buzz(arr):
    new_arr = []
    for element in arr:
        if element % 3 == 0 and element % 5 == 0:
            new_arr.append("FizzBuzz")
        elif element % 3 == 0:
            new_arr.append("Fizz")
        elif element % 5 == 0:
            new_arr.append("Buzz")
        else:
            new_arr.append(element)
    return new_arr

print(fizz_buzz([2, 3, 4, 5, 6, 15]))