First of all you referred to twice already to a pre-defined class card system in Java.
OK system that are a copy.
OK.
So this Smurfit actually is going to copy another array.
OK.
And we can see now I'm going I should explain how this method actually works.
OK.
The first argument as you can see here this is the first argument to k in teacher at a one OK.
So this first argument is the source.
OK.
So this is our source OK.
This is the area that we want to actually copy.
OK.
The second argument as you can see here is this is this party in position in the source.
OK so this argument here number zero is this starting position.
Ok for example this number 100 here.
OK.
Is this starting position in the source at a.
OK.
And this and this up first argument as you can see here is the destination in which we copy.
OK which is the same as the source in that case.
OK.
As you can see here this is the this.
This is actually the situation if you want to actually copy.
OK.
And this fourth argument as you can see here this number is zero as you can see this is the starting
position in the destination data.
Ok this is our destination data here.
And this is the starting position into this initial data.
Okay.
And here as you can see this last argument here as you can see this final argument is actually the length
of a value you want to copy.
So here we want to actually create another copy of this Aure OK integer add a 1 and this is our copy
integer.
You want copy and discomfort are a copy here that we actually called on this system class as you can
see.
Dude that actually does that job for us.
OK.
So this first argument is the source.
This is the starting position actually in the source Aure.
As you can see here this is or this argument is the destination in which we copy.
OK this is the destination.
So this is our I know that this is indeed a copy.
This is destination situation and this actually is a fourth argument actually is the starting position
in the destination data.
Ok this is this starting position in the destination data.
OK.
And here this is the line of values we want to copy.
OK.
So here in line 49 we want to capture the output this.
These two arrows to the screen.
OK.
So in line 49 I actually called this method here and this actually accepts two arguments and the first
argument is integer add a 1.
OK.
And the second argument is TXI the end of a 1.
And here in line 50.
Again I called this method here.
Output the Aure to the screen integer at a World Cup he takes the end at a word copy.
OK so now let's actually run our project and see what happens.
OK so now as you can see our application is running on this emulator here and this is in a vault here
as you can see so I can actually scroll to the left in order to see the other values.
And this is in every one copy.
OK.
So as you can see here these values are actually the same as these values that are inside of this.
Everyone here OK.
So hopefully that makes sense.
And now let's actually go back inside the main activity of a fight here and let's actually add some
more lines of code here.
OK.
Say that this uncreate Mefford.
So now I'm going to actually pasting some lines of code here and then I'm going to explain to you what's
going on here.
OK.
So as you can see here these are the lines of code that are that I actually paste that here.
First of all in line 54 I created all variable of type Boolean.
OK.
And the name of this variable is.
Is it equal.
OK.
And then here as you can see I actually referred to the name of this phrase class dot equals.
So this Mefford this equals Mivart actually checks of whether the values of two rays are actually the
same or not.
OK are equal or not.
So we want to actually specify whether the values of these integer array 1 are actually equal to the
values that are inside of this integer at one copy or not.
OK so here I called this class I referred to the name of this class phrase that equals integer Arev
on integer array one copy.
OK.
And then in line 55 I referred to the name of this object S-W to equal.
So as you can see here we created this object in line 26 here of this object is actually of type switch.
Ok so it's W.T. that said checked OK and here as you can see which cities are a piece of code here and
here I referred inside the inside of the prentices I referred to the name of these boolean variable.
OK.
Is Equant.
OK so here I am saying that if the value of these is equal variable is true OK then assign the value
true to this set check the method.
Otherwise if the value of this is equal variable is not true.
So it is false.
OK.
If the value of this is equal value but is not true then assign the value false to this set checks method.
OK.
So this piece of code as you can see here this expression here actually returns a value of type Boolean.
OK.
So this piece of code Rutan's may be a false or a true value.
OK.
And here I am saying that if the value of this is equal value and is true.
OK he had this piece of code written that are true or false value but value.
And then it's going to assign that true or false value.
This is equal value.
OK.
And here I am saying that if the value of this is equal value but is true then assign the value true
to this said checked my faith.
Otherwise assigned the value falls to this said checked method.
OK if the value of this is equal value but is natural assign the value false to this set check Moffet.
So hopefully it does make sense.
And in 1956 as you can see here here I want to specify the text of my s w t equal object to k of this
sweet object.
So I just referred to the name to the name of this object.
W.T. equal dot Septic's.
OK.
So here again as you can see.
So here I am saying that if the value of this is equal variable true.
OK if the value of this is equal boolean variable true is true then assign the value.
This takes this distance as you can see inside of these double quotes here.
Then assign this value to the set text here.
As you can see here.
OK.
As scientists value to these set takes a Meffert that is related to this object OK the value of these
arrows are equal.
Otherwise if the value of this is called a boolean variable is not true then assign this value not equal.
Ok this takes this string value.
Then assign this string value to the set text method here.
OK so now let's actually run our project and see what happens.
OK so now as you can see our application is running on this emulator.
And here we can see this text here that says the value the values of these arrays are equal.
And this actually does.
So each object as you can see here is actually the checked on.
OK the value of this.
So each object is actually you now but as you can see here the size of this takes is is actually Aledo
small.
So analysis actually to go back and say this content underline mean that example.
And here I need to click on this clear cache here and now let's actually select this each object here
and let's actually find the text size as attribute as it can see.
This is the text size attribute and here are actually assigned the value for example 20 to this attribute
here.
And if I run my project again let's see what happens.
And now as you can see our application is running on the simulator and we can see this value here the
values of these arrays are equal.
OK.
And the value of this sweet object is actually true.
OK.
This is checked on.
OK.
And now let's actually go back and say this main activity the double file here that's actually a comment
out this line of code here that does that actually.
Copies this intuition at a one here and then it's actually a common line of code here and now let's
actually on our project again and see what happens.
So now as you can see our application is running on this emulator and we can see the values that are
actually inside of these eight out of one copy.
OK.
These are zeroes here.
And it says not equal.
OK.
And the value of the switch object as you can see is of OK.
So hopefully that makes sense that's actually to go back and say this main activity that I will find
here and let's add to the uncomment this line of code here and now I'm going to actually pasting some
more lines of code here and then I'm going to explain to you what's going on here.
OK.